﻿define [
    'jquery'
    'use!underscore'
    'use!backbone'
    'namespace'
    'photo'
], ($, _, Backbone, global, Photo) ->
  return global.Album  if global.Album
  class Album extends Backbone.Collection
    model: Photo
    url: '/Photo/'
  
  global.Album = new Album()
  return global.Album